// pages/details/details.js
Page({
  //跳转租卡页面
  rentCard:function(){
    wx.navigateTo({
      url: '/pages/vehicle/manage/manage',
    })
  },
  /**
   * 页面的初始数据
   */
  data: {
    vehicleImg_2: '/resource/images/Rectangle 104.png',
    vehicleNumber: '粤A‧123456',
    vehicle: {
      vehicleDetail: {
        vehicleImg_2: '/resource/images/image 2.png',
        vehicleNumber: '粤A‧123456',
        vehicleBrand: '林肯',
        vehicleType: 'SUV',
        vehicleColor: '珍珠白',
      },
      feeList: [{
        annual: 'month',
        site: '领汇创展商业中心',
        paymtAmount: '600',
        inddateFrom: '2021-04',
        inddateEnd: '2021.05',
        date: '月'
      }, {
        annual: 'year',
        site: '时代一期车场·F2·A2324',
        paymtAmount: '3600',
        inddateFrom: '2021-04',
        inddateEnd: '2022.04',
        date: '年'
      }, {
        annual: 'year',
        site: '时代一期车场',
        paymtAmount: '3600',
        inddateFrom: '2021-04',
        inddateEnd: '2022.04',
        date: '年'
      }]
    }

  },
  gotoRentCard: function () {
    wx.navigateTo({
      // url: '/pages/card/card',
      url: '/pages/vehicle/map/map',
      // url:'/pages/manage/manage'
    })
  },
  keepOn: function () {
    wx.navigateTo({
      url: '/pages/vehicle/keep/keep',
    })
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})